package com.doyens.dto;

import com.doyens.entity.Employee;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "员工实体类")
public class EmployeeDto extends Employee implements Serializable {

    @ApiModelProperty(value = "员工dto扩展部门名称字段")
    private String deptName;

    @ApiModelProperty(value = "员工dto扩展职位名称字段")
    private String postName;
}
